home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Tools & Goodies / IntlTest / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-04-23  |  2.0 KB  |  75 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Menus.fr
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef DEFINES_K
  15. #include "Defines.k"
  16. #endif
  17.  
  18. #ifndef FWMENUS_FR
  19. #include "FWMenus.fr"
  20. #endif
  21.  
  22. //----------------------------------------------------------------------------
  23. //    Strings for IntlTest Menu
  24. //----------------------------------------------------------------------------
  25. resource FW_kMULTISTRING (kIntlTestPartStrings)
  26. {
  27.     kBlankString,        "This area intentionally left blank";
  28. }
  29.  
  30. //----------------------------------------------------------------------------
  31. //    Strings for Undo and Redo menu items
  32. //----------------------------------------------------------------------------
  33.  
  34. resource FW_kMULTISTRING (kIntlTestUndoStrings)
  35. {
  36.     kUndoDragTextMsg,    "Undo Text Removal";
  37.     kRedoDragTextMsg,    "Redo Text Removal";
  38.     kUndoDropTextMsg,    "Undo Text Drop";
  39.     kRedoDropTextMsg,    "Redo Text Drop";
  40.     kUndoClearTextMsg,    "Undo Text Clear";
  41.     kRedoClearTextMsg,    "Redo Text Clear";
  42.     kUndoCutTextMsg,    "Undo Text Cut";
  43.     kRedoCutTextMsg,    "Redo Text Cut";
  44.     kUndoPasteTextMsg,    "Undo Text Paste";
  45.     kRedoPasteTextMsg,    "Redo Text Paste";
  46. }
  47.  
  48. //----------------------------------------------------------------------------
  49. //    Menus
  50. //----------------------------------------------------------------------------
  51.  
  52. resource FW_RMenuBar(kMenuBar)
  53. {
  54.     {
  55.         FW_RPullDownMenu
  56.         (
  57.             "IntlTest"
  58.             {
  59.                 FW_RTextItem(cFirstCommand, '1', "First Command"),
  60.                 FW_RTextItem(cSecondCommand, '2', "Second Command")
  61.             }
  62.         ),
  63.         FW_RPullDownMenu
  64.         (
  65.             "Font"
  66.             {
  67.                 FW_RTextItem(cSystemFont,  FW_kNoKeyEquivalent, "System Font"),
  68.                 FW_RTextItem(cDefaultFont,  FW_kNoKeyEquivalent, "Default Font"),
  69.                 FW_RTextItem(cInlineInput,  FW_kNoKeyEquivalent, "Inline Input"),
  70.                 FW_RSeparatorItem()
  71.             }
  72.         )
  73.     }
  74. };
  75.